package com.qdc.datacenters.service;

import com.qdc.datacenters.domain.entity.CorpPermitUser;
import com.qdc.datacenters.domain.query.BaseQuery;
import com.qdc.datacenters.domain.query.chatmsg.ChatMsgListQuery;
import com.qdc.datacenters.domain.query.user.CorpPermitUserQuery;
import com.qdc.datacenters.domain.vo.chatmsg.ChatMsgUserListVo;

import java.util.List;

/**
 * 开通会话存档员工信息(CorpPermitUser)表服务接口
 *
 * @author danmo
 * @since 2024-03-04 11:15:04
 */
public interface ICorpPermitUserService extends IBaseService<CorpPermitUser> {

    List<ChatMsgUserListVo> getUserMsgList(ChatMsgListQuery query);

    CorpPermitUser getByCorpUserId(String corpUserId);

    void sync(BaseQuery query);

    List<CorpPermitUser> getList(CorpPermitUserQuery query);

    void updateStatus(Long id, Integer status);

    void delete(CorpPermitUserQuery query);
}

